package com.luoxin.servicemap.service;

import com.luoxin.internalcommon.dto.ResponseResult;
import com.luoxin.internalcommon.response.TrackResponse;
import com.luoxin.servicemap.remote.TrackClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TrackService {
    @Autowired
    private TrackClient trackClient;

    public ResponseResult<TrackResponse> addTrack(String tid) {
        return trackClient.addTrack(tid);
    }

    public ResponseResult deleteTrack(String tid,String trid) {
        return trackClient.deleteTrack(tid,trid);
    }
//
//    public ResponseResult search() {
//        return terminalClient.search();
//    }
}
